// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif

#define _WIN32_WINNT 0x0500

#ifdef WIN32
#pragma warning (disable: 4514 4786)
#endif

#include <windows.h>
#include <TCHAR.h>
#include "./Common/TString.h"
#include "./Res/resource.h"

#define lengthof(x) (sizeof(x)/sizeof(*x))

#include <crtdbg.h>
#define ASSERT(expr)  _ASSERTE(expr)

#include <comdef.h>
#include <gdiplus.h>
using namespace Gdiplus;
#pragma comment(lib, "gdiplus.lib")

#define RECT_W(rect) (rect.right-rect.left)
#define RECT_H(rect) (rect.bottom-rect.top)

#define UM_INSTALL_PROGRESS (WM_USER+123)

// TODO: reference additional headers your program requires here

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
